<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of DetalleDeuda
 *
 * @author home
 */
class DetalleDeuda implements InterfazDatos
{
    private $codigo;
    private $deuda;
    private $factura;

    function __construct($codigo, $deuda, $factura) {
        $this->codigo = $codigo;
        $this->deuda = $deuda;
        $this->factura = $factura;
    }

    
    public function getDatos() 
    {
        $datos[0][0]="codigodetalledeuda";$datos[0][1]=$this->codigo;
        $datos[1][0]="codigodeuda";$datos[1][1]=$this->deuda;
        $datos[2][0]="codigofactura";$datos[2][1]=$this->factura;
        return $datos;
    }

    public function getTabla() {
        return "detalledeuda";
    }    //put your code here
}

?>
